<?php
/* @var $this SiteController */
    //echo "đây là trang index";
    //$this->beginContent('//layouts/column2');
?>
<div class="span-6 last">
    <div id="sidebar"><!--start sidebar-->
        <?php
        $this->widget('zii.widgets.CMenu', array(
'items'=>array(
array('label'=>'Home', 'url'=>array('site/index')),
    array('label'=>'Products', 'url'=>array('product/index'), 'items'=>array(
                array('label'=>'New Arrivals', 'url'=>array('product/new', 'tag'=>'new')),
                array('label'=>'Most Popular', 'url'=>array('product/index', 'tag'=>'popular')),
                )),
array('label'=>'Login', 'url'=>array('site/login'), 'visible'=>Yii::app()->user->isGuest),
),
));
        ?>
    </div><!--end sidebar-->
</div>
<?php //$this->endContent(); ?>
